package com.qf.zhijia.mapper;

import com.qf.zhijia.pojo.Theme;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author Canaan
 * @version V1.0
 * @data 2020/09/05
 **/
@Component
public interface ShowThemeMapper {

    /**
     * 查所有
     * @return
     */
    @Select("select theme_id,theme_name from theme")
    List<Theme> queryAllTheme();

}
